@isTest
private class AvgAccountContactsCompleteScheduleTest {
    static testMethod void testMethod1() {
        Account acc = TestUtils.createAccount();
        insert acc;
        Account acc2 = TestUtils.createAccount();
        acc2.Name='测试一下啊啊啊';
        acc2.RecordTypeId = Utils.getRecordTypeIdByDevNameAndObjName('经销商', 'Account');
        insert acc2;
        AvgAccountContactsCompleteSchedule sc = new AvgAccountContactsCompleteSchedule();
        String fmt = '0 10 0 1-31 1-12 ? 2017-2098';//每天执行一次
        System.schedule('每天刷新客户联系人信息完整度 计划任务；'+Datetime.now().format('yyyyMMddHHmmss'), fmt, sc);
    }
}